// 调动管理接口
import request from "@/utils/request";





// /system/resign/list

// 离职列表查询
export function applicationList(data) {
  return request({
    url: `system/resign/list?pageNum=${data.pageNum}&pageSize=${data.pageSize}`,
    method: "POST",
    data,
  });
}


// 新增和保存
export function applicationAdd(data) {
  return request({
    url: "/system/resign/add",
    method: "POST",
    data,
  });
}

// /system/resign/{id}

export function applicationDetails(id) {
  return request({
    url: `/system/resign/${id}`,
    method: "GET"
  });
}